import { Injectable } from '@angular/core';
import {HeroJobAdComponent} from './HeroJobAdComponent';
import {AdItem} from './ad.item';

@Injectable({
  providedIn: 'root'
})
export class AdsevriceService {

   getAdsData() {
     return [
       new  AdItem(HeroJobAdComponent, {name: '寒冰射手', style: '射手'}),
       new  AdItem(HeroJobAdComponent, {name: '德玛西亚', style: '坦克'}),
       new  AdItem(HeroJobAdComponent, {name: '火蓝', style: '中单'}),
       new  AdItem(HeroJobAdComponent, {name: '熔岩巨兽', style: '辅助'}),
     ];
   }
}
